<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>博客标签</title>
    <th:block th:replace="headfoot/head::head_common"></th:block>
</head>
<body>
<div class="container-fluid kj-list-container">
    <div class="kj-list-content-container card">
        <form id="queryForm"
              class="form-horizontal kj-list-queryFrom">

            <div class="kj-list-queryFrom-container">
                <div class="kj-list-queryFrom-item">
                    <div class="form-group col-sm-12">

                        <label class="col-sm-1 control-label kj-list-query-label" title="名称">名称</label>
                        <div class="col-sm-2">
                            <input type="text" class="form-control input-sm" id="name" name="name"
                                   placeholder="请输入名称"
                                   autocomplete="">
                        </div>

                        <!--状态-->
                        <label class="col-sm-1 control-label kj-list-query-label" title="状态">启用状态</label>
                        <div class="col-sm-2">
                            <select style="width: 100%" class="form-control input-sm" id="enable" name="enable"
                                    data-value="">
                                <option value="">--请选择--</option>
                                <option value="1">启用</option>
                                <option value="0">禁用</option>
                            </select>
                        </div>
                        <div class="col-sm-3 kj-list-query-btn-container">
                            <button type="button"
                                    class="btn btn-sm btn-default kj-btn-query query"
                            >
                                <i class="iconfont icon-chaxun"></i> 查询
                            </button>
                            <button
                                    type="button"
                                    class="btn btn-sm btn-default kj-btn-reset reset"
                            >
                                <i class="iconfont icon-zhongzhi"></i>重置
                            </button>
                        </div>
                    </div>
                </div>

            </div>

            <!-- 收起展开按钮 -->
            <div class="kj-packUpdiv">
                <span class="kj-packUp-span">
                    <i id="kj_slideBtn" class="kj-packUpdiv-icon kj-icon-shou-by-listpage"
                       onclick="common.slideSearchDiv();"></i>
                </span>
            </div>

            <div id="kj_list_content_btn_container"
                 class="kj-list-content-btn-container form-group col-sm-12">
                <button type="button"
                        class="btn btn-sm btn-default add-multitab kj-btn-add"
                        data-id="add-user-form"
                        data-url="/blog/tag/form"
                        data-title="新增标签">
                    <i class="iconfont icon-tianjia"></i>&ensp;添加
                </button>

                <button class="btn btn-sm btn-default kj-btn-del bootable-action-post"
                        type="button"
                        data-table="#table"
                        data-href="/system/dict/batchDelete"
                        data-confirm="确认删除吗">
                    <i class="iconfont icon-shanchu"></i>&ensp;删除
                </button>
            </div>
        </form>

        <table id="table"
               class="table table-bordered table-hover table-striped bootstrapTable kj-list-container-only-table"
               data-list-url="/blog/tag/list"
               data-form-url="/blog/tag/form" data-del-url="/blog/tag/delete"
               data-toolbar="#queryForm">
            <thead>
            <tr>
                <th data-checkbox="true"></th>
                <th data-field="name" data-sortable="true">名称</th>
                <th data-field="clickNum" data-sortable="true">点击次数</th>
                <th data-field="sort" data-sortable="true">排序</th>
                <th data-field="enable" data-formatter="showEnable" data-sortable="true">状态</th>
                <th data-field="createTime" data-sortable="true">创建时间</th>
                <th data-field="operate" data-formatter="defaultOperate" data-events="defaultOperateEvent">操作</th>
            </tr>
            </thead>
        </table>
    </div>
</div>

<th:block th:replace="headfoot/foot::list_foot"></th:block>


</body>
</html>